package com.lnking.lnkingplace.model.request.outsiders;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.lnking.starter.mybatis.entity.Page;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * @author 联坤
 */
@Data
public class OutsidersSearchRequest  extends Page {

    @ApiModelProperty(value = "场所Id")
    private String placeId;

    @ApiModelProperty("渠道")
    private String channel;

    @ApiModelProperty("外来人员名字")
    private String name;

    @ApiModelProperty(value = "街道")
    private String street;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("时间")
    private LocalDate time;

    @ApiModelProperty(value = "是否管控")
    private String control;
}
